var express = require('express');
// router 路由对象
var router = express.Router();

const { register, login, getUserInfo } = require('../controllers/usersControllers');


router.post('/login', login);

router.post('/register', register);

router.post('/getUserInfo', getUserInfo)


module.exports = router;
